import styled from "styled-components";

export const Wrapper = styled.div`
    width: 1224px;
    margin: 84px auto 0;
`;
export const DetailWrapper = styled.div`
    .header {
        border-radius: 4px;
        border: 1px solid #ccc;
        padding: 12px;
        box-sizing: border-box;
    }

    .cmp-work-list-card {
        width: 100%;
        display: flex;
        position: relative;
        box-sizing: border-box;
    }

    .cmp-work-list-card > span {
        box-sizing: border-box;
        position: absolute;
        background: #31ccd2;
        color: #fff;
        font-size: 14px;
        left: -12px;
        top: -12px;
        border-bottom-right-radius: 4px;
        text-align: center;
        padding: 8px;
        outline: none;
    }

    .margin-top {
        margin-top: 30px;
        width: 100%;
    }

    .flex-align {
        margin-bottom: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .tags {
        padding: 8px 0;
    }

    .stu-status {
        font-size: 14px;
        margin-top: 16px;
        color: #3c4043;
    }

    .tags {
        text-align: start;
    }

    .tag {
        margin-right: 6px;
        height: 20px;
        padding: 0 5px;
        line-height: 19px;
        background-color: #ecf3fe;
        border-color: #d9e7fd;
        display: inline-block;
        font-size: 12px;
        color: #4285f4;
        border-width: 1px;
        border-style: solid;
        border-radius: 4px;
        box-sizing: border-box;
        white-space: nowrap;
    }

    .tag-gray {
        display: inline-block;
        font-size: 12px;
        border-radius: 4px;
        box-sizing: border-box;
        white-space: nowrap;
        height: 20px;
        padding: 0 5px;
        line-height: 19px;
        color: #909399;
        background: #f8f9fa;
        border: 1px solid #f8f9fa;
        margin-right: 6px;
    }

    .attachment_list_area {
        user-select: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        padding: 10px;
        margin-top: 16px;
        z-index: 11;
        position: relative;
        border: 1px solid #dadce0;
        border-radius: 4px;
        background: #fff;
    }

    .attachment_list_area .left img {
        width: 33px;
        height: 40px;
    }

    .attachment_list_area .right {
        margin: 0 16px;
    }

    .attachment_list_area .right .name {
        font-size: 16px;
        font-weight: 500;
    }

    .attachment_list_area .right .size {
        font-size: 12px;
        color: #74787c;
    }

    .attachment_list_area .right button {
        display: inline-block;
        line-height: 1;
        white-space: nowrap;
        cursor: pointer;
        background: #fff;
        -webkit-appearance: none;
        text-align: center;
        box-sizing: border-box;
        outline: 0;
        margin: 0;
        transition: .1s;
        font-weight: 500;
        border-color: transparent;
        border-radius: 4px;
        color: #4285f4;
        background: 0 0;
        padding-left: 0;
        padding-right: 0;
        font-size: 12px;
    }

    .main-content {
        width: 1224px;
        margin: 64px auto 0;
    }

    .bottom-component {
        overflow: auto;
        color: #3c4043;
        background: #fff;
    }

    .component-main {
        display: flex;
        align-items: center;
        margin-top: 24px;
        padding: 12px;
        border-bottom: 2px solid #4285f4;
        background: #f8f9fa;
    }

    .component-main .right {
        flex: 1;
    }

    .component-main .left img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
    }

    .component-main .right .textarea {
        position: relative;
        display: inline-block;
        width: 100%;
        vertical-align: bottom;
        font-size: 14px;
    }

    .component-main .right .textarea textarea {
        display: block;
        resize: vertical;
        padding: 5px 15px;
        line-height: 1.5;
        box-sizing: border-box;
        width: 100%;
        font-size: inherit;
        color: #606266;
        border-radius: 4px;
        transition: border-color .2s cubic-bezier(.645, .045, .355, 1);
        background: #f8f9fa none;
        border: 0;
        min-height: 31px;
        outline: none;
    }

    .component-footer {
        display: flex;
        align-items: center;
        margin: 16px 0;
        justify-content: flex-end;
    }

    .pin {
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        margin: 0 16px;
    }

    .pin img {
        width: 16px;
        height: 16px;
    }

    .comments {
        margin-top: 12px;
    }

    .comments .title {
        font-size: 20px;
        color: #3c4043;
        display: flex;
        align-items: center;
        line-height: 24px;
    }

    .comments .title span {
        font-size: 12px;
        color: #74787c;
        padding: 0 8px;
    }

    .comments .content {
        padding-bottom: 12px;
        height: max-content;
        padding-top: 100px;
        font-size: 16px;
        font-weight: 500;
        text-align: center;
        color: #74787c;
        line-height: 24px;
    }

    .comments .content .img-box {
        padding-bottom: 12px;
    }

    .comments .content .img-box img {
        height: 184px;
        display: block;
        margin: 0 auto;
        border: none;
    }

`;

export const CorrectWrapper = styled.div`
    min-width: 1024px;
    max-width: 1224px;
    margin: 0 auto;
    font-size: 12px;
    background-color: #fff;

    header {
        display: flex;
        justify-content: space-between;
        font-size: 20px;
        font-family: PingFangSC, PingFangSC-Medium;
        font-weight: 500;
        text-align: left;
        color: #3c4043;
    }

    .top {
        display: flex;
        justify-content: space-between;
        margin-top: 8px;
        margin-bottom: 15px;
    }

    .tag {
        background-color: #ecf3fe;
        border-color: #d9e7fd;
        display: inline-block;
        font-size: 12px;
        color: #4285f4;
        border-width: 1px;
        border-style: solid;
        border-radius: 4px;
        box-sizing: border-box;
        white-space: nowrap;
        height: 24px;
        padding: 0 8px;
        line-height: 22px;
    }

    .info {
        margin-left: 8px;
        background-color: #f4f4f5;
        border-color: #e9e9eb;
        color: #909399;
    }

    .top-right {
        display: block;
        flex-direction: row;
        font-family: PingFangSC, PingFangSC-Medium;
        font-weight: 500;
        text-align: left;
        color: #4285f4;
        line-height: 8px;
    }

    .top-right span {
        margin-left: 5px;
    }

    .divider {
        background-color: #dadce0;
        position: relative;
        display: block;
        height: 1px;
        width: 100%;
        margin: 12px 0;
    }

    .flex-between {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .main {
        padding: 24px 0;
    }

    .search-box {
        position: relative;
    }

    .search-box input {
        padding: 0 30px;
        height: 32px;
        line-height: 32px;
        outline: none;
        transition: border-color .2s cubic-bezier(.645, .045, .355, 1);
        width: 100%;
        background-color: #fff;
        background-image: none;
        border-radius: 4px;
        border: 1px solid #dadce0;
        box-sizing: border-box;
        color: #606266;
        display: inline-block;
        font-size: inherit;
    }

    .search-box img {
        position: absolute;
        right: 10px;
        top: 5px;
        width: 24px;
        height: 24px;
    }

    .nav {
        text-align: start;
    }
`;
